
#ifndef PARAM_LIST_H
#define PARAM_LIST_H

#include "ast.h"
#include "type.h"
#include <stdio.h>

struct param_list {
	char *name;
	struct type *type;
	struct param_list *next;
};


struct param_list * param_list_create ( 
      char * name, 
      struct type * type, 
      struct param_list *next );
void param_list_typecheck ( struct param_list *p, struct expr * a);

void param_list_resolve( struct param_list *p, int L );
void param_list_print( struct param_list  * plist   ); 

#endif
